home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
previe_1
/
previewp.rc
< prev
next >
Wrap
Text File
|
1998-10-27
|
16KB
|
470 lines
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON DISCARDABLE "res\\PreviewPrint.ico"
IDR_PREVIETYPE ICON DISCARDABLE "res\\PreviewPrintDoc.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MAINFRAME MENU PRELOAD DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New\tCtrl+N", ID_FILE_NEW
MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN
MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE
MENUITEM "Save &As...", ID_FILE_SAVE_AS
MENUITEM SEPARATOR
MENUITEM "&Print...\tCtrl+P", ID_FILE_PRINT
MENUITEM "Print Pre&view", ID_FILE_PRINT_PREVIEW
MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP
MENUITEM SEPARATOR
MENUITEM "E&xit", ID_APP_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO
MENUITEM SEPARATOR
MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE
END
POPUP "&Help"
BEGIN
MENUITEM "&About PreviewPrint...", ID_APP_ABOUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
BEGIN
"N", ID_FILE_NEW, VIRTKEY, CONTROL
"O", ID_FILE_OPEN, VIRTKEY, CONTROL
"S", ID_FILE_SAVE, VIRTKEY, CONTROL
"P", ID_FILE_PRINT, VIRTKEY, CONTROL
"Z", ID_EDIT_UNDO, VIRTKEY, CONTROL
"X", ID_EDIT_CUT, VIRTKEY, CONTROL
"C", ID_EDIT_COPY, VIRTKEY, CONTROL
"V", ID_EDIT_PASTE, VIRTKEY, CONTROL
VK_BACK, ID_EDIT_UNDO, VIRTKEY, ALT
VK_DELETE, ID_EDIT_CUT, VIRTKEY, SHIFT
VK_INSERT, ID_EDIT_COPY, VIRTKEY, CONTROL
VK_INSERT, ID_EDIT_PASTE, VIRTKEY, SHIFT
VK_F6, ID_NEXT_PANE, VIRTKEY
VK_F6, ID_PREV_PANE, VIRTKEY, SHIFT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 55
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About PreviewPrint"
FONT 8, "MS Sans Serif"
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
LTEXT "PreviewPrint Version 1.0",IDC_STATIC,40,10,119,8,
SS_NOPREFIX
LTEXT "Copyright (C) 1998",IDC_STATIC,40,25,119,8
DEFPUSHBUTTON "OK",IDOK,178,7,32,14,WS_GROUP
END
IDD_PREVIEWPRINT_FORM DIALOG DISCARDABLE 0, 0, 356, 176
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "X",IDC_STATIC,65,17,8,10
EDITTEXT IDC_ED_X,75,15,30,14,ES_AUTOHSCROLL
EDITTEXT IDC_ED_Y,75,30,30,14,ES_AUTOHSCROLL
LTEXT "Y",IDC_STATIC,65,32,5,10
GROUPBOX "Actions",IDC_STATIC,5,5,50,165
PUSHBUTTON "BeginDoc",IDC_BTN_BEGINDOC,11,15,40,15
PUSHBUTTON "EndDoc",IDC_BTN_ENDDOC,10,45,40,15
PUSHBUTTON "GetPos",IDC_BTN_GETPOS,10,60,40,15
PUSHBUTTON "MoveTo",IDC_BTN_MOVETO,10,75,40,15
GROUPBOX "Data",IDC_STATIC,61,5,50,165
EDITTEXT IDC_ED_OPS,115,5,235,165,ES_MULTILINE | ES_AUTOHSCROLL |
ES_READONLY | ES_WANTRETURN | WS_VSCROLL
PUSHBUTTON "LineTo",IDC_BTN_LINETO,10,90,40,15
LTEXT "T",IDC_STATIC,65,47,8,10
EDITTEXT IDC_ED_T,75,45,30,15,ES_AUTOHSCROLL
PUSHBUTTON "TextOut",IDC_BTN_TEXTOUT,10,105,40,15
PUSHBUTTON "SetFont",IDC_BTN_FONT,10,150,40,15
PUSHBUTTON "SetDocTitle",IDC_BTN_SETDOCTITLE,10,135,40,15
PUSHBUTTON "GetTxtAlign",IDC_BTN_GETTEXTALIGN,10,120,40,15
COMBOBOX IDC_CBO_TEXTALIGN,65,80,40,55,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
LTEXT "Text Align",IDC_STATIC,65,70,40,10
PUSHBUTTON "NewPage",IDC_BTN_NEWPAGE,10,30,40,15
PUSHBUTTON "PrintSetup",IDC_BTN_PRINTSETUP,65,100,40,15
EDITTEXT IDC_EDT_HEIGHT,75,150,30,14,ES_AUTOHSCROLL | ES_READONLY |
ES_NUMBER
EDITTEXT IDC_EDT_WIDTH,75,135,30,14,ES_AUTOHSCROLL | ES_READONLY |
ES_NUMBER
EDITTEXT IDC_EDT_ORIENTATION,75,120,30,14,ES_AUTOHSCROLL |
ES_READONLY | ES_NUMBER
LTEXT "O",IDC_STATIC,65,122,10,10
LTEXT "W",IDC_STATIC,65,137,10,10
LTEXT "H",IDC_STATIC,65,152,10,10
END
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "\0"
VALUE "FileDescription", "PreviewPrint MFC Application\0"
VALUE "FileVersion", "1, 0, 0, 1\0"
VALUE "InternalName", "PreviewPrint\0"
VALUE "LegalCopyright", "Copyright (C) 1998\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "PreviewPrint.EXE\0"
VALUE "ProductName", "PreviewPrint Application\0"
VALUE "ProductVersion", "1, 0, 0, 1\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 210
TOPMARGIN, 7
BOTTOMMARGIN, 48
END
IDD_PREVIEWPRINT_FORM, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 349
TOPMARGIN, 7
BOTTOMMARGIN, 169
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_PREVIEWPRINT_FORM DLGINIT
BEGIN
IDC_CBO_TEXTALIGN, 0x403, 9, 0
0x4f54, 0x4c2d, 0x552d, 0x4450, "\000"
IDC_CBO_TEXTALIGN, 0x403, 8, 0
0x4f54, 0x4c2d, 0x4e2d, 0x004f,
IDC_CBO_TEXTALIGN, 0x403, 9, 0
0x4f54, 0x432d, 0x552d, 0x4450, "\000"
IDC_CBO_TEXTALIGN, 0x403, 8, 0
0x4f54, 0x432d, 0x4e2d, 0x004f,
IDC_CBO_TEXTALIGN, 0x403, 9, 0
0x4f54, 0x522d, 0x552d, 0x4450, "\000"
IDC_CBO_TEXTALIGN, 0x403, 8, 0
0x4f54, 0x522d, 0x4e2d, 0x004f,
IDC_CBO_TEXTALIGN, 0x403, 9, 0
0x4142, 0x4c2d, 0x552d, 0x4450, "\000"
IDC_CBO_TEXTALIGN, 0x403, 8, 0
0x4142, 0x4c2d, 0x4e2d, 0x004f,
IDC_CBO_TEXTALIGN, 0x403, 9, 0
0x4142, 0x432d, 0x552d, 0x4450, "\000"
IDC_CBO_TEXTALIGN, 0x403, 8, 0
0x4142, 0x432d, 0x4